package com.upic.po;

import com.upic.base.entiy.BaseEntity;
import com.upic.enums.NoticeStatusEnum;
import com.upic.enums.NoticeTypeEnum;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * Created by zhubuqing on 2018/2/7.
 */
@Data
@Entity
public class Notice extends BaseEntity {
    private String title; // 标题

    private String content; // 内容

    private String publisher; // 发布人

    private String remarks; // 备注

    @Enumerated(EnumType.STRING)
    private NoticeTypeEnum type; // 类型

    @Enumerated(EnumType.STRING)
    private NoticeStatusEnum status; // 状态
}
